package com.shycloud.mido.member.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shycloud.mido.member.api.entity.AtvAttendDetail;
import com.shycloud.mido.member.api.vo.AtvAttendDetailVO;

public interface AtvAttendDetailService extends IService<AtvAttendDetail> {

	/** 立即报名 */
	String signUp(String mainActiveId, String username, String showname, String headerUrl);

	/** 开启比赛 */
	boolean beginAtv(String mainActiveId);

	IPage<AtvAttendDetailVO> getSignUpList(Page page, String mainActiveId);

	void dropOut(String mainActiveId, String teatcherMemberId, String memberId);

	String getIsTeacherInAct(String id, String teacherId);
}

